package com.zjyd.douyanglive.job;


import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.Date;

/**
 * 用来完成直播间房间任务
 */
@Slf4j
@Component
public class LiveRoomJob {

    /**
     * 主播是否连续超时直播的检测
     * liveRoomJobHandler
     */
    @XxlJob("liveRoomJobHandler")
    public void checkAnchorLiveTimeOut(){
        log.info("主播是否连续超时直播的检测"+new Date());
    }
}
